package k3;

public class Timer {
	public boolean timer(int interval){
		boolean ready = false;
		interval = interval*1000;
		long time = System.currentTimeMillis() + interval;
		if(ready==false){
			while(System.currentTimeMillis() <= time){
			}
			System.out.println("lopp");
			ready = true;
			return true;
		}
		return false;
	}
}
